hexo.extend.generator.register('challenge', function(locals) {
  var post = locals.posts.data[0];
  return {
    path: 'challenge.html', // 输出路径
    data: locals.posts,
    layout: ['challenge']
  }
})
